﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tool.Core
{
   public class ModelListCreator
    {
       public ModelListCreator()
       {
           Fields = new List<ModelFieldCreator>();
       }
       public string Name { set; get; }

       public string TemplateName { set; get; }

       public string Description { set; get; }

       public IList<ModelFieldCreator> Fields { set; get; }
    }


   public class ModelFieldCreator
   {
       public string DisplayName { set; get; }

       public string InternalName
       {
           get
           {
               return DisplayName.Replace(" ", "");
           }
       }

       public string SPFieldType { set; get; }


       public string Description { set; get; }

       public string Required { set; get; }
   }
}
